package cn.stylefeng.guns.sys.modular.system.mapper;


import cn.stylefeng.guns.sys.modular.system.entity.DsstoreBillRice;
import cn.stylefeng.guns.sys.modular.system.model.params.DsstoreBillParam;
import cn.stylefeng.guns.sys.modular.system.model.params.DsstoreBillRiceParam;
import cn.stylefeng.guns.sys.modular.system.model.result.DsstoreBillResult;
import cn.stylefeng.guns.sys.modular.system.model.result.DsstoreBillRiceResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiangge
 * @since 2021-06-02
 */
public interface DsstoreBillRiceMapper extends BaseMapper<DsstoreBillRice> {

    /**
     * 获取列表
     *
     * @author jiangge
     * @Date 2021-06-02
     */
    List<DsstoreBillRiceResult> customList(@Param("paramCondition") DsstoreBillRiceParam paramCondition);

    /**
     * 获取map列表
     *
     * @author jiangge
     * @Date 2021-06-02
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") DsstoreBillRiceParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author jiangge
     * @Date 2021-06-02
     */
    Page<DsstoreBillRiceResult> customPageList(@Param("page") Page page, @Param("paramCondition") DsstoreBillRiceParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author jiangge
     * @Date 2021-06-02
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") DsstoreBillRiceParam paramCondition);


    void deleteDataByDay(@Param("day")String day);

    void deleteDataByDay2(@Param("day")String day);

    List<DsstoreBillResult> getDsstoreBillList(@Param("paramCondition") DsstoreBillParam paramCondition);

    List<DsstoreBillRiceResult> getDsstoreBillRiceList(@Param("paramCondition")DsstoreBillRiceParam para);

    List<String> selectIdsByDay(@Param("day")String day);

    void deleteDataByIds(@Param("list")List<String> idslist);
}
